package health.lm.com.mine;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import health.lm.com.component_base.base.mvp.activity.XActivity;
import health.lm.com.data.App;

public class MainActivity extends XActivity {
    private String token = "yD9scYeJ8mhBtS3shXeIvd+m1p1ylXMD115tjA9i4o4/9kDz2HxgpxA2glonnUu3VwoZ+fBrIaC8qk4mxmDKu+BmaGFXrVKuaUagHbCq17g/7DboafJI1/Vdh68Cg0Aj0TPunQHCk+Y44NxMOAFw6A==";
    private String uid = "5346";
    @Override
    public void initData(Bundle savedInstanceState) {
        App.getModel().setAccess_token(token);
        App.getModel().setUid(uid);
        Fragment fragmentMine = getSupportFragmentManager().findFragmentById(R.id.fragment_mine);
        getSupportFragmentManager().beginTransaction().show(fragmentMine).commit();
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_main_mine;
    }

    @Override
    public Object newP() {
        return null;
    }

}
